package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author durui123
 * @since 2018-04-06
 */
@TableName("receive_basic_information")
public class ReceiveBasicInformation extends Model<ReceiveBasicInformation> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("receive_contract_number")
    private String receiveContractNumber;
    @TableField("receive_start_date")
    private Date receiveStartDate;
    @TableField("receive_arrival_date")
    private Date receiveArrivalDate;
    @TableField("receive_trade_person")
    private String receiveTradePerson;
    @TableField("receive_consigner")
    private String receiveConsigner;
    @TableField("receive_consigner_tell")
    private String receiveConsignerTell;
    @TableField("receive_consigner_place")
    private String receiveConsignerPlace;
    @TableField("receive_consignee")
    private String receiveConsignee;
    @TableField("receive_consignee_tell")
    private String receiveConsigneeTell;
    @TableField("receive_consignee_place")
    private String receiveConsigneePlace;
    @TableField("receive_payment_method")
    private String receivePaymentMethod;
    @TableField("receive_gross_freight")
    private Double receiveGrossFreight;
    @TableField("receive_gross_messagefee")
    private Double receiveGrossMessagefee;
    @TableField("receive_gross_pickup_charge")
    private Double receiveGrossPickupCharge;
    @TableField("receive_iscollect_money")
    private String receiveIscollectMoney;
    @TableField("receive_shipping_method")
    private String receiveShippingMethod;
    @TableField("receive_isinform_deliver")
    private String receiveIsinformDeliver;
    @TableField("receive_isfinish")
    private String receiveIsfinish;
    @TableField("receive_check")
    private String receiveCheck;
    @TableField("receive_state")
    private String receiveState;
    @TableField("receive_remark")
    private String receiveRemark;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getReceive_contract_number() {
        return receiveContractNumber;
    }

    public void setReceiveContractNumber(String receiveContractNumber) {
        this.receiveContractNumber = receiveContractNumber;
    }

    public Date getReceive_start_date() {
        return receiveStartDate;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd")
    public void setReceiveStartDate(Date receiveStartDate) {
        this.receiveStartDate = receiveStartDate;
    }

    public Date getReceive_arrival_date() {
        return receiveArrivalDate;
    }
    
    @DateTimeFormat(pattern="yyyy-MM-dd")
    public void setReceiveArrivalDate(Date receiveArrivalDate) {
        this.receiveArrivalDate = receiveArrivalDate;
    }

    public String getReceive_trade_person() {
        return receiveTradePerson;
    }

    public void setReceiveTradePerson(String receiveTradePerson) {
        this.receiveTradePerson = receiveTradePerson;
    }

    public String getReceiveConsigner() {
        return receiveConsigner;
    }

    public void setReceiveConsigner(String receiveConsigner) {
        this.receiveConsigner = receiveConsigner;
    }

    public String getReceiveConsignerTell() {
        return receiveConsignerTell;
    }

    public void setReceiveConsignerTell(String receiveConsignerTell) {
        this.receiveConsignerTell = receiveConsignerTell;
    }

    public String getReceiveConsignerPlace() {
        return receiveConsignerPlace;
    }

    public void setReceiveConsignerPlace(String receiveConsignerPlace) {
        this.receiveConsignerPlace = receiveConsignerPlace;
    }

    public String getReceiveConsignee() {
        return receiveConsignee;
    }

    public void setReceiveConsignee(String receiveConsignee) {
        this.receiveConsignee = receiveConsignee;
    }

    public String getReceiveConsigneeTell() {
        return receiveConsigneeTell;
    }

    public void setReceiveConsigneeTell(String receiveConsigneeTell) {
        this.receiveConsigneeTell = receiveConsigneeTell;
    }

    public String getReceiveConsigneePlace() {
        return receiveConsigneePlace;
    }

    public void setReceiveConsigneePlace(String receiveConsigneePlace) {
        this.receiveConsigneePlace = receiveConsigneePlace;
    }

    public String getReceivePaymentMethod() {
        return receivePaymentMethod;
    }

    public void setReceivePaymentMethod(String receivePaymentMethod) {
        this.receivePaymentMethod = receivePaymentMethod;
    }

    public Double getReceive_gross_freight() {
        return receiveGrossFreight;
    }

    public void setReceiveGrossFreight(Double receiveGrossFreight) {
        this.receiveGrossFreight = receiveGrossFreight;
    }

    public Double getReceive_gross_messagefee() {
        return receiveGrossMessagefee;
    }

    public void setReceiveGrossMessagefee(Double receiveGrossMessagefee) {
        this.receiveGrossMessagefee = receiveGrossMessagefee;
    }

    public Double getReceive_gross_pickup_charge() {
        return receiveGrossPickupCharge;
    }

    public void setReceiveGrossPickupCharge(Double receiveGrossPickupCharge) {
        this.receiveGrossPickupCharge = receiveGrossPickupCharge;
    }

    public String getReceiveIscollectMoney() {
        return receiveIscollectMoney;
    }

    public void setReceiveIscollectMoney(String receiveIscollectMoney) {
        this.receiveIscollectMoney = receiveIscollectMoney;
    }

    public String getReceiveShippingMethod() {
        return receiveShippingMethod;
    }

    public void setReceiveShippingMethod(String receiveShippingMethod) {
        this.receiveShippingMethod = receiveShippingMethod;
    }

    public String getReceiveIsinformDeliver() {
        return receiveIsinformDeliver;
    }

    public void setReceiveIsinformDeliver(String receiveIsinformDeliver) {
        this.receiveIsinformDeliver = receiveIsinformDeliver;
    }

    public String getReceiveIsfinish() {
        return receiveIsfinish;
    }

    public void setReceiveIsfinish(String receiveIsfinish) {
        this.receiveIsfinish = receiveIsfinish;
    }

    public String getReceiveCheck() {
        return receiveCheck;
    }

    public void setReceiveCheck(String receiveCheck) {
        this.receiveCheck = receiveCheck;
    }

    public String getReceiveState() {
        return receiveState;
    }

    public void setReceiveState(String receiveState) {
        this.receiveState = receiveState;
    }

    public String getReceiveRemark() {
        return receiveRemark;
    }

    public void setReceiveRemark(String receiveRemark) {
        this.receiveRemark = receiveRemark;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ReceiveBasicInformation{" +
        "id=" + id +
        ", receiveContractNumber=" + receiveContractNumber +
        ", receiveStartDate=" + receiveStartDate +
        ", receiveArrivalDate=" + receiveArrivalDate +
        ", receiveTradePerson=" + receiveTradePerson +
        ", receiveConsigner=" + receiveConsigner +
        ", receiveConsignerTell=" + receiveConsignerTell +
        ", receiveConsignerPlace=" + receiveConsignerPlace +
        ", receiveConsignee=" + receiveConsignee +
        ", receiveConsigneeTell=" + receiveConsigneeTell +
        ", receiveConsigneePlace=" + receiveConsigneePlace +
        ", receivePaymentMethod=" + receivePaymentMethod +
        ", receiveGrossFreight=" + receiveGrossFreight +
        ", receiveGrossMessagefee=" + receiveGrossMessagefee +
        ", receiveGrossPickupCharge=" + receiveGrossPickupCharge +
        ", receiveIscollectMoney=" + receiveIscollectMoney +
        ", receiveShippingMethod=" + receiveShippingMethod +
        ", receiveIsinformDeliver=" + receiveIsinformDeliver +
        ", receiveIsfinish=" + receiveIsfinish +
        ", receiveCheck=" + receiveCheck +
        ", receiveState=" + receiveState +
        ", receiveRemark=" + receiveRemark +
        "}";
    }
}

